﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IPC.Communication.MQTT
{
    public class MqttClientApplicationMessage : MqttApplicationMessage
    {
        private bool _isCancelPublish = false;

	    public string ClientId
	    {
		    get;
		    set;
	    }

	    public string UserName
	    {
		    get;
		    set;
	    }

	    public bool IsCancelPublish
	    {
            get { return _isCancelPublish; }
            set { _isCancelPublish = value; }
	    }


	    public DateTime CreateTime
	    {
		    get;
		    set;
	    }

	    public MqttClientApplicationMessage()
	    {
		    CreateTime = DateTime.Now;
	    }
    }
}
